﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003FF RID: 1023
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DrinkMakerDayEndScNotify : IMessage<DrinkMakerDayEndScNotify>, IMessage, IEquatable<DrinkMakerDayEndScNotify>, IDeepCloneable<DrinkMakerDayEndScNotify>, IBufferMessage
	{
		// Token: 0x17000D20 RID: 3360
		// (get) Token: 0x06002DD4 RID: 11732 RVA: 0x0007E31C File Offset: 0x0007C51C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DrinkMakerDayEndScNotify> Parser
		{
			get
			{
				return DrinkMakerDayEndScNotify._parser;
			}
		}

		// Token: 0x17000D21 RID: 3361
		// (get) Token: 0x06002DD5 RID: 11733 RVA: 0x0007E323 File Offset: 0x0007C523
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DrinkMakerDayEndScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D22 RID: 3362
		// (get) Token: 0x06002DD6 RID: 11734 RVA: 0x0007E335 File Offset: 0x0007C535
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DrinkMakerDayEndScNotify.Descriptor;
			}
		}

		// Token: 0x06002DD7 RID: 11735 RVA: 0x0007E33C File Offset: 0x0007C53C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DrinkMakerDayEndScNotify()
		{
		}

		// Token: 0x06002DD8 RID: 11736 RVA: 0x0007E344 File Offset: 0x0007C544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DrinkMakerDayEndScNotify(DrinkMakerDayEndScNotify other) : this()
		{
			this.pNGDHFGNAMA_ = other.pNGDHFGNAMA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002DD9 RID: 11737 RVA: 0x0007E369 File Offset: 0x0007C569
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DrinkMakerDayEndScNotify Clone()
		{
			return new DrinkMakerDayEndScNotify(this);
		}

		// Token: 0x17000D23 RID: 3363
		// (get) Token: 0x06002DDA RID: 11738 RVA: 0x0007E371 File Offset: 0x0007C571
		// (set) Token: 0x06002DDB RID: 11739 RVA: 0x0007E379 File Offset: 0x0007C579
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PNGDHFGNAMA
		{
			get
			{
				return this.pNGDHFGNAMA_;
			}
			set
			{
				this.pNGDHFGNAMA_ = value;
			}
		}

		// Token: 0x06002DDC RID: 11740 RVA: 0x0007E382 File Offset: 0x0007C582
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DrinkMakerDayEndScNotify);
		}

		// Token: 0x06002DDD RID: 11741 RVA: 0x0007E390 File Offset: 0x0007C590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DrinkMakerDayEndScNotify other)
		{
			return other != null && (other == this || (this.PNGDHFGNAMA == other.PNGDHFGNAMA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002DDE RID: 11742 RVA: 0x0007E3C0 File Offset: 0x0007C5C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PNGDHFGNAMA != 0U)
			{
				num ^= this.PNGDHFGNAMA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002DDF RID: 11743 RVA: 0x0007E3FF File Offset: 0x0007C5FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002DE0 RID: 11744 RVA: 0x0007E407 File Offset: 0x0007C607
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002DE1 RID: 11745 RVA: 0x0007E410 File Offset: 0x0007C610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PNGDHFGNAMA != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.PNGDHFGNAMA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002DE2 RID: 11746 RVA: 0x0007E444 File Offset: 0x0007C644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PNGDHFGNAMA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PNGDHFGNAMA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002DE3 RID: 11747 RVA: 0x0007E482 File Offset: 0x0007C682
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DrinkMakerDayEndScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PNGDHFGNAMA != 0U)
			{
				this.PNGDHFGNAMA = other.PNGDHFGNAMA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002DE4 RID: 11748 RVA: 0x0007E4B3 File Offset: 0x0007C6B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002DE5 RID: 11749 RVA: 0x0007E4BC File Offset: 0x0007C6BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PNGDHFGNAMA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400121D RID: 4637
		private static readonly MessageParser<DrinkMakerDayEndScNotify> _parser = new MessageParser<DrinkMakerDayEndScNotify>(() => new DrinkMakerDayEndScNotify());

		// Token: 0x0400121E RID: 4638
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400121F RID: 4639
		public const int PNGDHFGNAMAFieldNumber = 3;

		// Token: 0x04001220 RID: 4640
		private uint pNGDHFGNAMA_;
	}
}
